/*
 * objx.equals
 * 
 */
objx.requires("objx.corelist", "objx.group");

objx.fn.equals = objx.fn.eq = function(sel, value) {
	
	// save the grouped data in a new object
	var selected = [];
	
	this.porc(sel, function(item, index, source) {

		if (item == value) {
			selected.push(source);
		}
		
	});
	
	// return the new object
	return objx(selected);
	
};

objx.provides("objx.equals");